package com.gxa.jd.service;

import com.gxa.jd.pojo.Order;
import com.gxa.entity.PageResult;
import com.gxa.jd.vo.OrderVo;
import com.gxa.jd.vo.OrderVoo;

import java.util.*;

/**
 * order业务逻辑层
 */
public interface OrderService {


    public List<OrderVoo> findAll(Long id);

    public List<OrderVoo> findAllByState(Long id,Integer state);


    public PageResult<Order> findPage(int page, int size);


    public List<Order> findList(Map<String, Object> searchMap);


    public PageResult<Order> findPage(Map<String, Object> searchMap, int page, int size);


    public OrderVo findByOrderNum(String orderNum);

    public void add(Order order);


    public void update(Order order);


    public void delete(String order_num);



}
